import client from "./internal/httpClient";

export function careateDeviceType(data: any) {
    return client.post("/backend/v1/project/create", data);
}

export function getDeviceList(data: any) {
    return client.get("/backend/v1/project/getList", data);
}


export function getDeviceTypeById(data: any) {
    return client.get("/backend/v1/project/getDeviceTypeById/" + data, {});
}

export function updateDeviceTypeById(data: any) {
    return client.post("/backend/v1/project/updateDeviceTypeById", data);
}

//delInfoById
export function delInfoById(data: any) {
    return client.get("/backend/v1/project/delInfoById/" + data, {});
}



